package com.cdtye.itps.cms.dao.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: ty
 * @Date: 2021/4/16 10:48
 * @Description: 状态枚举
 */
@Getter
@AllArgsConstructor
public enum DefectInfoStatusEnum {

    /**
     * 是
     */
    YES("1","已销号"),
    /**
     * 否
     */
    NO("0","未销号");
    @EnumValue
    public final String value;
    @JsonValue
    public final String text;
}
